package com.hamster.crmpre.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 员工管理实体类 对应表 employee
 * @author Tarry
 * @create 2019/12/21 13:48
 */
@Data
@TableName("employee") // 注解指定表名
public class Employee {
    @TableId
    private String id; //主键id
    private String name;  //姓名
    private String phone; //手机号
    private String gender; //性别
    private String position; //职务级别  0 员工  1 主管 2 经理 3 总监
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday; //生日
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date joinTime; //入职日期
    private String idNumber; //身份证号
    private String presentAddress; //现住址
    private String province; //籍贯省份
    private String city;      //籍贯城市
    private String district;  //籍贯区
    private String provinceCityDistrict;  //省市区 三合一
    private String originalAddress; //籍贯地址
    private String emergencyContact; //紧急联系人
    private String employeeState;   //员工状态
    private String department;      //部门

    private String superiorId;     //上级的id
    private String superiorName;     //上级的姓名

    private String salary;          //工资
    private String recruiter;       //招聘者
    private String recruiterId;       //招聘者ID


    private String remark;   //备注
    private String  inputUser;//录入人
    private Date inputTime; //录入日期
    private String del;//数据状态【删除标记】0正常   1删除




}
